library;

/// @description: 店铺相关接口
/// @author tangzhentao
/// @created at 19:33 2024/12/31

class ApiShop {
  /// 店铺统计 POST
  static const statistics = 'shop/statistics';

  /// 提成统计 POST
  static const commission = 'shop/commission';

  /// 我的客户列表 POST
  ///
  /// body {
  ///
  /// page [int] 页码
  ///
  /// filter: {
  ///
  ///   tab [String] all=全部，unpaid=未消费，paid=已消费
  ///
  /// }
  ///
  /// }
  static const customerList = 'shop/customerList';

  /// 我的推广员列表 POST
  ///
  /// body {
  ///
  /// page [int] 页码
  ///
  /// }
  static const staffList = 'shop/staffList';

  /// 提成列表 POST
  ///
  /// body {
  ///
  /// page [int] 页码
  ///
  /// status [int] 提成状态 (0: 待结算, 1: 已结算, 2: 已取消)
  ///
  /// }
  static const commissionList = 'shop/commissionList';

  /// 订单列表 POST
  ///
  /// body {
  ///
  /// page [int] 页码
  ///
  /// status [String] 订单状态：-1=已取消,0=待支付,1=待发货,2=待收货（待提货）,3=待评价,4=已完成,5=已授权
  ///
  /// }
  static const orderList = 'shop/orderList';

  /// 发货 POST
  ///
  /// body {
  ///
  /// id [int] 订单ID
  ///
  /// com [String] 公司
  ///
  /// nu [String] 编号
  ///
  /// }
  static const dispatch = 'shop/dispatch';
}
